package com.cn.entity;

public class CostCase {
    private int id;
    private String type;
    private String desc;
    private double cost;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public double getCost() {
        return cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public CostCase(int id, String type, String desc, double cost) {
        this.id = id;
        this.type = type;
        this.desc = desc;
        this.cost = cost;
    }

    @Override
    public String toString() {
        return "CostCase{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", desc='" + desc + '\'' +
                ", cost=" + cost +
                '}';
    }
}
